home *** CD-ROM | disk | FTP | other *** search
/ Chip: 2001 Haziran / CHIP Haziran2001.iso / prog / haziran / 20 / setup.exe / {app} / plugins / XQ Welcome Options 1.xpl < prev    next >
Encoding:
XSetup plugin  |  2001-03-28  |  2.0 KB  |  69 lines

  1. "FILE"="Xteq Systems X-Setup Plugin 6.0"
  2. "TYPE"="6"
  3. "COUNT"="3"
  4. "UIPATH 1"="Appearance\System\Message Windows"
  5. "UIPATH 2"="Startup/Shutdown\Startup\Windows 9x/ME\80) Windows Launch"
  6. "UIPATH 3"="Startup/Shutdown\Startup\Windows NT/2K\60) Windows Launch"
  7. "NAME"="Welcome Windows"
  8. "VERSION"="1.34"
  9. "LANGUAGE"="VBScript"
  10. "TEXT 1"="Show Windows "Welcome" window"
  11. "TEXT 2"="Show Internet Explorer "Welcome" window"
  12. "TEXT 3"="Show animated "<- Click here to begin""
  13. "DESCRIPTION 1"="Some options about the startup-process."
  14. "AUTHOR"="Xteq Systems"
  15. "CONTACTURL"="http://www.xteq.com"
  16. "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
  17. "COMMENT 1"=" "
  18.  
  19.  
  20. Sub Plugin_Initialize 
  21.  i=RegReadValue("HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Tips\Show")
  22.  if i=1000 then SetUIElement 1,true
  23.  if IsEmpty(i) then SetUIElement 1,true
  24.  
  25.  i=RegReadValue("HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Tips\ShowIE4")
  26.  if i=1 then SetUIElement 2,true
  27.  
  28.  i=RegReadValue("HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\NoStartBanner")
  29.  if i=0 then SetUIElement 3,true
  30. End Sub
  31.  
  32.  
  33. Sub Plugin_CheckData(ElementIndex)
  34. End Sub
  35.  
  36.  
  37.  
  38. Sub Plugin_Apply(ElementIndex,ElementSubIndex)
  39.  b=GetUIElement(1)
  40.  if b=true then
  41.   Call RegWriteValue("HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Tips\Show","1000",3)
  42.  else
  43.   Call RegWriteValue("HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Tips\Show","0000",3)
  44.  end if
  45.  
  46.  b=GetUIElement(2)
  47.  if b=true then
  48.   Call RegWriteValue("HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Tips\ShowIE4",1,2)
  49.  else
  50.   Call RegWriteValue("HKCU\Software\Microsoft\Windows\CurrentVersion\Explorer\Tips\ShowIE4",0,2)
  51.  end if
  52.  
  53.  b=GetUIElement(3)
  54.  if b=true then
  55.   Call RegWriteValue("HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\NoStartBanner",0,2)
  56.  else
  57.   Call RegWriteValue("HKCU\Software\Microsoft\Windows\CurrentVersion\Policies\Explorer\NoStartBanner",1,2)
  58.  end if
  59.  
  60.  Restart
  61. End Sub
  62.  
  63.  
  64. Sub Plugin_Terminate 
  65. End Sub
  66.  
  67.  
  68.  
  69.